package com.qut.atcoder.pojo;

public class Course {
    //课程号
    private int id;
    //课程名称
    private String course_name;
    //课程描述
    private String description;
    //课程价格
    private int price;
    //购买数量
    private int purchase;
    //脏标志位
    private int is_exist;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getPurchase() {
        return purchase;
    }

    public void setPurchase(int purchase) {
        this.purchase = purchase;
    }

    public int getIs_exist() {
        return is_exist;
    }

    public void setIs_exist(int is_exist) {
        this.is_exist = is_exist;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", course_name='" + course_name + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", purchase=" + purchase +
                ", is_exist=" + is_exist +
                '}';
    }
}
